package com.itasura.factorymethod;

/**
 * @author sailor wang
 * @date 2018/11/24 8:12 PM
 * @description
 */
public class Main {
    public static void main(String[] args) {
        BenzFactory benzFactory = new BenzFactory();
        benzFactory.create().run();

        BMWFactory bmwFactory = new BMWFactory();
        benzFactory.create().run();

        MiniFactory miniFactory = new MiniFactory();
        miniFactory.create().run();
    }
}